﻿using NbMeterServices.Entity;
using SqlSugar;

namespace NbMeterServices;
/// <summary>
/// 仪表监控数据表
/// </summary>
[SugarTable("MR_MeterJkHistory", "仪表监控历史表")]
[Tenant("1300000000001")]
public class MrMeterHistory : MrMeterJk
{
    /// <summary>
    /// 雪花Id
    /// </summary>
    [SugarColumn(ColumnName = "Id", ColumnDescription = "主键Id", IsPrimaryKey = true, IsIdentity = true)]
    public virtual long Id { get; set; }

    /// <summary>
    /// 当月用水量
    /// </summary>
    [SugarColumn(ColumnName = "MonthWaterUsed", ColumnDescription = "当月用水量", Length = 8, DecimalDigits = 3)]
    public decimal? MonthWaterUsed { get; set; }

    /// <summary>
    /// 剩余水量
    /// </summary>
    [SugarColumn(ColumnName = "Balance", ColumnDescription = "剩余水量", Length = 8, DecimalDigits = 3)]
    public decimal? Balance { get; set; }


    /// <summary>
    /// 当月用水量
    /// </summary>
    [SugarColumn(ColumnName = "MoneyBalance", ColumnDescription = "账号余额", Length = 8, DecimalDigits = 3)]
    public decimal? MoneyBalance { get; set; }

    /// <summary>
    /// 剩余水量
    /// </summary>
    [SugarColumn(ColumnName = "MoneyUsed", ColumnDescription = "用水费用", Length = 8, DecimalDigits = 3)]
    public decimal? MoneyUsed { get; set; }
}